package org.Modulo4;

import android.view.View;

public class Autenticar {

	private static String user;
	private static String password;

	public View onCreateView() {
		throw new UnsupportedOperationException();
	}

	public Autenticar() {
		
	}

	public static boolean comprobar(String usuario, String pass) {
		boolean ret=false;
		if(user.equalsIgnoreCase(usuario)&&password.equals(pass)){
			ret=true;
		}
		return ret;		
	}
	

	public static String getUser() {
		return user;
	}

	public static void setUser(String u) {
		user = u;
	}

	public static String getPassword() {
		return password;
	}

	public static void setPassword(String pass) {
		password = pass;
	}

}